package cn.com.fattiger.framework.cms.admin.common.service;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2016/3/7.
 */
public interface DynamicQueryService {

    Map<String, Object> query(Integer queryId, Map<String, Object> data) throws Exception;

    String fetchSql(Integer queryId,Map<String, Object> data) throws Exception;

    Integer insert(Integer queryId,Map<String, Object> data) throws Exception;

    void refreshTemplate(Integer queryId) throws Exception;
}
